dart convert int string leading zeros

100

void main() {
 print(123.toString().padLeft(10, '0'));
}

Comments

Submit
0 Comments